package com.obas.model.business;

public class Slot extends Entity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6922602032281211460L;

	public static final String Attribute_deviceId = "deviceId";

	public static final String Attribute_slotId = "slotId";

	private long deviceId;
	private Device device;

	private long slotId;
	private Slot slot;

	private long areaId;
	private Location area;

	private long subareaId;
	private Location subarea;

	/**
	 * @return the areaId
	 */
	public long getAreaId() {
		return areaId;
	}

	/**
	 * @param areaId
	 *            the areaId to set
	 */
	public void setAreaId(long areaId) {
		this.areaId = areaId;
	}

	/**
	 * @return the area
	 */
	public Location getArea() {
		return area;
	}

	/**
	 * @param area
	 *            the area to set
	 */
	public void setArea(Location area) {
		this.area = area;
	}

	/**
	 * @return the subareaId
	 */
	public long getSubareaId() {
		return subareaId;
	}

	/**
	 * @param subareaId
	 *            the subareaId to set
	 */
	public void setSubareaId(long subareaId) {
		this.subareaId = subareaId;
	}

	/**
	 * @return the subarea
	 */
	public Location getSubarea() {
		return subarea;
	}

	/**
	 * @param subarea
	 *            the subarea to set
	 */
	public void setSubarea(Location subarea) {
		this.subarea = subarea;
	}

	/**
	 * @return the deviceId
	 */
	public long getDeviceId() {
		return deviceId;
	}

	/**
	 * @param deviceId
	 *            the deviceId to set
	 */
	public void setDeviceId(long deviceId) {
		this.deviceId = deviceId;
	}

	/**
	 * @return the device
	 */
	public Device getDevice() {
		return device;
	}

	/**
	 * @param device
	 *            the device to set
	 */
	public void setDevice(Device device) {
		this.device = device;
	}

	/**
	 * @return the slotId
	 */
	public long getSlotId() {
		return slotId;
	}

	/**
	 * @param slotId
	 *            the slotId to set
	 */
	public void setSlotId(long slotId) {
		this.slotId = slotId;
	}

	/**
	 * @return the slot
	 */
	public Slot getSlot() {
		return slot;
	}

	/**
	 * @param slot
	 *            the slot to set
	 */
	public void setSlot(Slot slot) {
		this.slot = slot;
	}

}
